﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WCS.Infrastructure.Dto.Common;

namespace WCS.Infrastructure.Dto.Request.Log
{
    /// <summary>
    /// ActionLog对象
    /// </summary>
    public class ActionLogRequestDto:BaseRequestDto
    {
        /// <summary>
        /// 行为日志ID
        /// </summary>
        public string? Id { get; set; }
        /// <summary>
        /// 用户ID
        /// </summary>
        public string? UserId { get; set; }
        /// <summary>
        /// 类型
        /// </summary>
        public string? Type { get; set; }
        /// <summary>
        /// 行为
        /// </summary>
        public string? Action { get; set; }
        /// <summary>
        /// 记录版本：管理端/客户端
        /// </summary>
        public string? Version { get; set; }
        /// <summary>
        /// 本次请求的接口地址
        /// </summary>
        public string? ApiUrl { get; set; }
        /// <summary>
        /// 本次请求的IP
        /// </summary>
        public string? IP { get; set; }
        /// <summary>
        /// 本次请求的参数
        /// </summary>
        public string? Params { get; set; }
        /// <summary>
        /// 操作结果
        /// </summary>
        public int? Result { get; set; }
        /// <summary>
        /// 结果信息
        /// </summary>
        public string? ResultMessage { get; set; }

    }
}
